Skip to content

ci(release): add SLSA provenance + use softprops for packaging#41

Merged
aksOps merged 1 commit intomainfrom
ci-release-provenance-packaging
Apr 23, 2026
Merged

ci(release): add SLSA provenance + use softprops for packaging#41
aksOps merged 1 commit intomainfrom
ci-release-provenance-packaging

Conversation

@aksOps
Copy link
Copy Markdown
Contributor

@aksOps aksOps commented Apr 23, 2026

Fixes two scorecard warnings surfaced after the signed-release rollout:

  • Signed-Releases warning: 'release artifact does not have provenance' → adds actions/attest-build-provenance@v4.1.0 to emit a Sigstore-signed SLSA in-toto attestation covering both binaries and SHA256SUMS.
  • Packaging unknown → replaces the raw gh release create with softprops/action-gh-release@v3.0.0, the pattern scorecard's Packaging check recognises.

Functionally equivalent to today's release flow; adds one extra asset (docsiq-<tag>.intoto.jsonl) per release.

Fixes two scorecard warnings:

- Signed-Releases warning 'does not have provenance': adds
  actions/attest-build-provenance@v4.1.0 after cosign signing. It
  produces a Sigstore-signed in-toto attestation bundle covering both
  binaries and SHA256SUMS; bundle is uploaded with the release as
  docsiq-<tag>.intoto.jsonl.

- Packaging 'packaging workflow not detected': replaces the raw
  'gh release create' call with softprops/action-gh-release@v3.0.0,
  the pattern scorecard's Packaging check recognises. Same behaviour:
  creates tag on the triggering SHA, uploads all dist/* assets,
  auto-generates release notes.

Requires attestations: write permission on the release job.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@aksOps aksOps enabled auto-merge (squash) April 23, 2026 03:54
@aksOps aksOps merged commit b55cc30 into main Apr 23, 2026
12 checks passed
@aksOps aksOps deleted the ci-release-provenance-packaging branch April 23, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant